﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace SelfMadeMillionaire.Web.Infrastructure.ViewModels.Account
{
	public class PersonalInfoViewModel
	{
		[Required]
		[StringLength(100)]
		public string FirstName { get; set; }

		[Required]
		[StringLength(100)]
		public string LastName { get; set; }

		[Required]
		[StringLength(100)]
		[RegularExpression(Constants.EMAIL_REGX, ErrorMessage = "Please enter a valid email address")]
		public string Email { get; set; }

		public bool IsSuccess { get; set; }
	}
}
